pipeline:pipeline.cc
	g++ -std=c++17 $^ -o $@ -I/usr/include/sw/redis++ -lhiredis -lredis++ -lpthread

list:list.cc
	g++ -std=c++17 $^ -o $@ -lhiredis -lredis++ -lpthread

hash:hash.cc
	g++ -std=c++17 $^ -o $@ -lhiredis -lredis++ -lpthread

complement:complement.cc
	g++ -std=c++17 $^ -o $@ -lhiredis -lredis++ -lpthread

.PHONY:clean
clean:
	rm -f string list hash set zset complement pipeline transaction watch